package com.sky.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DishPageQueryItemVO {
    private Long id;

    //菜品名称
    private String name;

    //菜品分类id
    //  private Long categoryId;
    private String categoryName;

    //菜品价格
    private BigDecimal price;

    //图片
    private String image;

    //描述信息
    //  private String description;

    //0 停售 1 起售
    private Integer status;

    //  private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;

    // private Long createUser;

    // private Long updateUser;
}
